Files
candle/candle-transformers/src/models
Kyle Birnbaum eb478ece92 Implementing DistilBertForMaskedLM. (#2866)
* Initial commit: model weights working, prediciton incorrect

* moved distilbertformaskedlm into distilbert modeling file

* made maskedLM like bert example, still incorrect predictions

* finally not getting NaNs, fixed attention mask

* getting correct output sentences

* get top k predictions

* fixed output formatting slightly

* added default arg for model_id

* lint

* moved masked token example code from distilbertformaskedlm example to distilbert example

* lint

* removed distilbertformaskedlm example

* cleanup

* clippy

* removed embedding normalization from example

* made output and model dependent on args instead of prompt

* lint

* replaced or_ok anyhow error with anyhow context

* changed error message for mask token not found
2025-04-11 13:25:39 +02:00
..
2025-04-03 19:38:27 +02:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-12-03 10:56:01 +01:00
2024-11-18 14:19:23 +01:00
2025-04-03 19:38:27 +02:00
2024-11-18 14:19:23 +01:00
2024-11-16 09:09:17 +01:00
2024-11-15 08:30:15 +01:00
2024-11-16 09:09:17 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2025-04-04 06:48:03 +02:00
2025-04-06 22:15:36 +02:00
2025-01-29 08:59:28 +01:00
2025-02-19 10:51:01 +01:00
2024-11-17 20:27:24 +01:00
2024-11-17 20:27:24 +01:00
2024-11-17 20:27:24 +01:00
2024-11-17 20:27:24 +01:00
2024-11-15 08:30:15 +01:00
2025-01-13 17:39:49 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-15 08:30:15 +01:00
2025-04-03 19:38:27 +02:00
2025-04-03 19:38:27 +02:00
2025-04-06 22:15:36 +02:00
2024-11-17 20:27:24 +01:00
2024-11-15 08:30:15 +01:00
2024-11-15 08:30:15 +01:00
2024-11-18 14:19:23 +01:00
2024-11-15 08:30:15 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-17 20:27:24 +01:00
2024-11-17 20:27:24 +01:00
2025-04-06 22:15:36 +02:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-18 14:19:23 +01:00
2024-11-15 08:30:15 +01:00
2024-11-15 08:30:15 +01:00
2024-11-15 08:30:15 +01:00
2024-11-18 14:19:23 +01:00