Files
candle/candle-examples/examples
Akshay Ballal 91f1f019b1 Added XLMRobertaModel for Reranking (#2686)
* add xlm-roberta-base

* Add task enum for fill-mask and reranker in xlm-roberta example; update README and fix attention mask dimensions

- Introduced a new `Task` enum to replace string task identifiers in the xlm-roberta example.
- Updated the logic in `main.rs` to handle tasks using the new enum.
- Enhanced README with example output for fill-mask task.
- Fixed dimension retrieval in `prepare_4d_attention_mask` function for better clarity and safety.

* Clippy fix.

---------

Co-authored-by: laurent <laurent.mazare@gmail.com>
2024-12-30 11:16:57 +01: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
2024-09-28 23:48:00 +02:00
2024-10-01 11:48:39 +02:00
2024-07-23 23:10:57 +02:00
2024-08-28 11:20:09 +02:00
2024-08-17 20:31:23 +02:00
2024-08-01 11:59:22 +02:00
2024-08-01 14:19:41 +02:00
2024-11-03 17:11:12 +01:00
2024-08-16 18:57:14 +02:00
2024-07-23 23:10:57 +02:00
2024-08-04 19:52:40 +02:00
2024-09-05 23:46:55 +02: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
2024-08-01 11:05:07 +02:00
2024-09-30 21:23:54 +02:00
2024-11-03 17:11:12 +01:00
2024-03-09 11:21:48 +01:00
2024-09-28 23:48:00 +02:00
2024-07-23 23:10:57 +02:00
2024-09-05 23:46:55 +02:00
2024-09-05 23:46:55 +02:00