antoinelouis / camembert-L2

huggingface.co
Total runs: 117
24-hour runs: 4
7-day runs: 11
30-day runs: 31
Model's Last Updated: May 02 2024
feature-extraction

Introduction of camembert-L2

Model Details of camembert-L2

CamemBERT-L2

This model is a pruned version of the pre-trained CamemBERT checkpoint, obtained by dropping the top-layers from the original model.

Usage

You can use the raw model for masked language modeling (MLM), but it's mostly intended to be fine-tuned on a downstream task, especially one that uses the whole sentence to make decisions such as text classification, extractive question answering, or semantic search. For tasks such as text generation, you should look at autoregressive models like BelGPT-2 .

You can use this model directly with a pipeline for masked language modeling :

from transformers import pipeline

unmasker = pipeline('fill-mask', model='antoinelouis/camembert-L2')
unmasker("Bonjour, je suis un [MASK] modèle.")

You can also use this model to extract the features of a given text:

from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained('antoinelouis/camembert-L2')
model = AutoModel.from_pretrained('antoinelouis/camembert-L2')

text = "Remplacez-moi par le texte de votre choix."
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)
Variations

CamemBERT has originally been released in base (110M) and large (335M) variations. The following checkpoints prune the base variation by dropping the top 2, 4, 6, 8, and 10 pretrained encoding layers, respectively.

Model #Params Size Pruning
CamemBERT-base 110.6M 445MB -
CamemBERT-L10 96.4M 386MB -13%
CamemBERT-L8 82.3M 329MB -26%
CamemBERT-L6 68.1M 272MB -38%
CamemBERT-L4 53.9M 216MB -51%
CamemBERT-L2 39.7M 159MB -64%

Runs of antoinelouis camembert-L2 on huggingface.co

117
Total runs
4
24-hour runs
6
3-day runs
11
7-day runs
31
30-day runs

More Information About camembert-L2 huggingface.co Model

More camembert-L2 license Visit here:

https://choosealicense.com/licenses/mit

camembert-L2 huggingface.co

camembert-L2 huggingface.co is an AI model on huggingface.co that provides camembert-L2's model effect (), which can be used instantly with this antoinelouis camembert-L2 model. huggingface.co supports a free trial of the camembert-L2 model, and also provides paid use of the camembert-L2. Support call camembert-L2 model through api, including Node.js, Python, http.

antoinelouis camembert-L2 online free

camembert-L2 huggingface.co is an online trial and call api platform, which integrates camembert-L2's modeling effects, including api services, and provides a free online trial of camembert-L2, you can try camembert-L2 online for free by clicking the link below.

antoinelouis camembert-L2 online free url in huggingface.co:

https://huggingface.co/antoinelouis/camembert-L2

camembert-L2 install

camembert-L2 is an open source model from GitHub that offers a free installation service, and any user can find camembert-L2 on GitHub to install. At the same time, huggingface.co provides the effect of camembert-L2 install, users can directly use camembert-L2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

camembert-L2 install url in huggingface.co:

https://huggingface.co/antoinelouis/camembert-L2

Url of camembert-L2

Provider of camembert-L2 huggingface.co

antoinelouis
ORGANIZATIONS

Other API from antoinelouis

huggingface.co

Total runs: 621
Run Growth: 83
Growth Rate: 13.37%
Updated:March 22 2024
huggingface.co

Total runs: 43
Run Growth: 3
Growth Rate: 6.98%
Updated:March 26 2024
huggingface.co

Total runs: 21
Run Growth: -6
Growth Rate: -28.57%
Updated:March 22 2024