File size: 1,224 Bytes
2a40769
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Tensorflow CamemBERT

In this repository you will find different versions of the CamemBERT model for Tensorflow.

## CamemBERT

[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.

## Model Weights

| Model                            | Downloads
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `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)

## Usage

With Transformers >= 2.4 the Tensorflow models of CamemBERT can be loaded like:

```python
from transformers import TFCamembertModel

model = TFCamembertModel.from_pretrained("jplu/tf-camembert-base")
```

## Huggingface model hub

All models are available on the [Huggingface model hub](https://huggingface.co/jplu).

## Acknowledgments

Thanks to all the Huggingface team for the support and their amazing library!