Instructions to use farid678/dummy-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use farid678/dummy-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="farid678/dummy-model")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("farid678/dummy-model") model = AutoModelForMaskedLM.from_pretrained("farid678/dummy-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 4,657 Bytes
4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf 7ed71eb 4de7bbf | 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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | ---
library_name: transformers
language:
- fr
license: mit
base_model: camembert-base
pipeline_tag: fill-mask
tags:
- fill-mask
- camembert
- french
---
# Model Card for dummy-model
## Model Details
### Model Description
This model is based on [CamemBERT](https://huggingface.co/camembert-base), a French language model built on the RoBERTa architecture. It is used for the **fill-mask** task, predicting masked tokens in French text.
- **Developed by:** [More Information Needed]
- **Funded by [optional]:** [More Information Needed]
- **Shared by [optional]:** farid678
- **Model type:** Transformer-based masked language model (RoBERTa architecture)
- **Language(s) (NLP):** French (fr)
- **License:** MIT
- **Finetuned from model:** [camembert-base](https://huggingface.co/camembert-base)
### Model Sources [optional]
- **Repository:** https://huggingface.co/farid678/dummy-model
- **Paper:** [CamemBERT: a Tasty French Language Model](https://arxiv.org/abs/1911.03894)
- **Demo:** [More Information Needed]
## Uses
### Direct Use
This model can be used directly for masked language modeling (fill-mask) on French text — predicting the most likely word(s) to fill in a `<mask>` token within a sentence.
### Downstream Use [optional]
The underlying CamemBERT architecture can be fine-tuned for downstream French NLP tasks such as text classification, named entity recognition, part-of-speech tagging, and question answering.
### Out-of-Scope Use
This model is not intended for languages other than French, and should not be used to generate factual claims, as masked language models are not designed for reliable factual generation.
## Bias, Risks, and Limitations
As with other large pretrained language models trained on web-scraped text, this model may reflect social, cultural, or gender biases present in its training data. Predictions should not be used in sensitive or high-stakes applications without further evaluation.
### Recommendations
Users (both direct and downstream) should be made aware of the risks, biases, and limitations of the model. Evaluate the model's outputs for bias before deploying in production use cases.
## How to Get Started with the Model
```python
from transformers import pipeline
fill_mask = pipeline("fill-mask", model="farid678/dummy-model")
fill_mask("Le camembert est <mask> !")
```
## Training Details
### Training Data
[More Information Needed]
### Training Procedure
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed]
#### Speeds, Sizes, Times [optional]
[More Information Needed]
## Evaluation
### Testing Data, Factors & Metrics
#### Testing Data
[More Information Needed]
#### Factors
[More Information Needed]
#### Metrics
[More Information Needed]
### Results
[More Information Needed]
#### Summary
## Model Examination [optional]
[More Information Needed]
## Environmental Impact
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
- **Hardware Type:** [More Information Needed]
- **Hours used:** [More Information Needed]
- **Cloud Provider:** [More Information Needed]
- **Compute Region:** [More Information Needed]
- **Carbon Emitted:** [More Information Needed]
## Technical Specifications [optional]
### Model Architecture and Objective
RoBERTa-based transformer encoder (CamemBERT), trained with the masked language modeling objective.
### Compute Infrastructure
[More Information Needed]
#### Hardware
[More Information Needed]
#### Software
- transformers
## Citation [optional]
**BibTeX:**
```bibtex
@inproceedings{martin2020camembert,
title={CamemBERT: a Tasty French Language Model},
author={Martin, Louis and Muller, Benjamin and Su{\'a}rez, Pedro Javier Ortiz and Dupont, Yoann and Romary, Laurent and de la Clergerie, {\'E}ric Villemonte and Seddah, Djam{\'e} and Sagot, Beno{\^i}t},
booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
year={2020}
}
```
**APA:**
Martin, L., Muller, B., Suárez, P. J. O., Dupont, Y., Romary, L., de la Clergerie, É. V., Seddah, D., & Sagot, B. (2020). CamemBERT: a Tasty French Language Model. In *Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics*.
## Glossary [optional]
[More Information Needed]
## More Information [optional]
[More Information Needed]
## Model Card Authors [optional]
[More Information Needed]
## Model Card Contact
[More Information Needed] |