Files
candle/candle-examples/examples
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
..
2024-07-23 23:10:57 +02:00
2024-08-01 08:26:19 +02:00
2024-07-23 23:10:57 +02:00
2025-04-03 09:18:29 +02:00
2024-09-28 23:48:00 +02:00
2024-10-01 11:48:39 +02:00
2025-01-29 08:59:28 +01:00
2025-02-19 10:51:01 +01:00
2024-07-23 23:10:57 +02:00
2025-04-03 09:18:29 +02:00
2024-08-28 11:20:09 +02:00
2024-12-31 09:21:41 +01:00
2025-04-03 09:18:29 +02:00
2024-08-01 11:59:22 +02:00
2024-08-01 14:19:41 +02:00
2025-04-03 09:18:29 +02:00
2024-02-22 10:22:03 +01:00
2024-08-16 18:57:14 +02:00
2024-07-23 23:10:57 +02:00
2025-04-03 09:18:29 +02:00
2024-08-04 19:52:40 +02:00
2025-01-13 08:39:27 +01:00
2024-12-03 10:56:01 +01:00
2024-04-26 11:02:51 +02:00
2024-09-29 19:56:56 +02:00
2025-03-01 10:07:29 +01:00
2024-09-30 21:23:54 +02:00
2024-01-17 10:27:58 +01:00
2025-04-03 09:18:29 +02:00
2024-03-09 11:21:48 +01:00
2025-04-03 09:18:29 +02:00
2025-04-07 08:23:47 +02:00
2025-04-03 09:18:29 +02:00
2024-07-23 23:10:57 +02:00
2025-04-03 09:18:29 +02:00
2025-04-03 09:18:29 +02:00
2025-04-03 09:18:29 +02:00
2025-04-03 09:18:29 +02:00
2024-09-05 23:46:55 +02:00