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-08-12 21:21:19 +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
2024-10-10 15:18:55 +02:00
2024-09-28 23:48:00 +02:00
2024-07-21 13:00:41 +02:00
2024-10-01 11:48:39 +02:00
2024-03-16 22:25:46 +01:00
2024-03-16 22:25:46 +01:00
2024-02-25 18:11:47 +01:00
2024-12-21 12:06:03 +01:00
2024-03-16 22:25:46 +01:00
2024-06-29 11:49:15 +02:00
2024-03-16 22:25:46 +01:00
2024-03-16 22:25:46 +01:00
2024-10-04 14:22:23 +02:00
2024-07-23 23:10:57 +02:00
2024-08-28 11:20:09 +02:00
2024-10-02 10:52:02 +02:00
2024-08-17 20:31:23 +02:00
2024-08-05 17:48:09 +02:00
2024-09-21 11:52:01 +02:00
2024-05-16 21:34:10 +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-04-10 18:10:01 +02:00
2024-11-28 23:00:21 +01:00
2024-08-17 20:58:40 +02:00
2024-03-09 11:06:04 +01:00
2024-10-04 14:22:23 +02:00
2024-08-04 19:52:40 +02:00
2024-08-01 10:48:58 +02:00
2024-09-28 14:41:28 +02:00
2024-08-29 15:38:58 +02:00
2024-03-16 22:25:46 +01:00
2024-07-23 23:10:57 +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-22 23:22:03 +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-05-23 17:07:21 +02:00
2024-07-12 10:00:03 +02:00
2024-03-30 15:49:37 +01:00
2024-06-07 10:51:50 +01:00
2024-04-13 20:07:01 +02:00
2024-11-15 16:46:55 +01:00
2024-03-16 22:25:46 +01:00
2024-03-16 22:25:46 +01:00
2024-03-09 11:21:48 +01:00
2024-03-21 10:56:41 +01:00
2024-07-23 23:10:57 +02:00
2024-09-28 23:48:00 +02:00
2024-09-05 23:46:55 +02:00
2024-10-07 23:28:21 +02:00
2024-07-23 23:10:57 +02:00
2024-11-01 18:10:40 +01:00
2024-03-20 13:04:36 +01:00
2024-02-28 21:02:41 +01:00
2024-11-29 09:01:08 +01:00
2024-04-01 20:58:34 +02:00
2024-07-23 23:10:57 +02:00
2024-03-16 22:25:46 +01:00
2024-03-16 22:25:46 +01:00
2024-10-04 14:29:55 +02:00
2024-11-27 22:35:11 +01:00
2024-12-30 11:16:57 +01:00
2024-09-05 23:46:55 +02:00
2024-09-05 23:46:55 +02:00