Migrate model card from transformers-repo
Browse filesRead announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755
Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/jplu/tf-camembert-base/README.md
README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Tensorflow CamemBERT
|
| 2 |
+
|
| 3 |
+
In this repository you will find different versions of the CamemBERT model for Tensorflow.
|
| 4 |
+
|
| 5 |
+
## CamemBERT
|
| 6 |
+
|
| 7 |
+
[CamemBERT](https://camembert-model.fr/) is a state-of-the-art language model for French based on the RoBERTa architecture pretrained on the French subcorpus of the newly available multilingual corpus OSCAR.
|
| 8 |
+
|
| 9 |
+
## Model Weights
|
| 10 |
+
|
| 11 |
+
| Model | Downloads
|
| 12 |
+
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------
|
| 13 |
+
| `jplu/tf-camembert-base` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/jplu/tf-camembert-base/config.json) • [`tf_model.h5`](https://s3.amazonaws.com/models.huggingface.co/bert/jplu/tf-camembert-base/tf_model.h5)
|
| 14 |
+
|
| 15 |
+
## Usage
|
| 16 |
+
|
| 17 |
+
With Transformers >= 2.4 the Tensorflow models of CamemBERT can be loaded like:
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from transformers import TFCamembertModel
|
| 21 |
+
|
| 22 |
+
model = TFCamembertModel.from_pretrained("jplu/tf-camembert-base")
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Huggingface model hub
|
| 26 |
+
|
| 27 |
+
All models are available on the [Huggingface model hub](https://huggingface.co/jplu).
|
| 28 |
+
|
| 29 |
+
## Acknowledgments
|
| 30 |
+
|
| 31 |
+
Thanks to all the Huggingface team for the support and their amazing library!
|