Instructions to use PantagrueLLM/Text_Base_FR_croissant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PantagrueLLM/Text_Base_FR_croissant with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="PantagrueLLM/Text_Base_FR_croissant")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PantagrueLLM/Text_Base_FR_croissant", dtype="auto") - Fairseq
How to use PantagrueLLM/Text_Base_FR_croissant with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "PantagrueLLM/Text_Base_FR_croissant" ) - Notebooks
- Google Colab
- Kaggle