Instructions to use CATIE-AQ/QAmembert-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CATIE-AQ/QAmembert-large with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="CATIE-AQ/QAmembert-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("CATIE-AQ/QAmembert-large") model = AutoModelForQuestionAnswering.from_pretrained("CATIE-AQ/QAmembert-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Loïck commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -166,13 +166,14 @@ result
|
|
| 166 |
|
| 167 |
### QAmemBERT
|
| 168 |
```
|
| 169 |
-
@misc {
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
|
|
|
| 176 |
}
|
| 177 |
```
|
| 178 |
|
|
|
|
| 166 |
|
| 167 |
### QAmemBERT
|
| 168 |
```
|
| 169 |
+
@misc {qamembert2023,
|
| 170 |
+
author = { {ALBAR, Boris and BEDU, Pierre and BOURDOIS, Loïck} },
|
| 171 |
+
organization = { {Centre Aquitain des Technologies de l'Information et Electroniques} },
|
| 172 |
+
title = { QAmembert (Revision 9685bc3) },
|
| 173 |
+
year = 2023,
|
| 174 |
+
url = { https://huggingface.co/CATIE-AQ/QAmembert-large },
|
| 175 |
+
doi = { 10.57967/hf/0821 },
|
| 176 |
+
publisher = { Hugging Face }
|
| 177 |
}
|
| 178 |
```
|
| 179 |
|