Run this model with HF Jobs
Run TextToKids/CamemBERT-base-EmoTextToKids on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/TextToKids/CamemBERT-base-EmoTextToKids. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/TextToKids/CamemBERT-base-EmoTextToKids on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use TextToKids/CamemBERT-base-EmoTextToKids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TextToKids/CamemBERT-base-EmoTextToKids with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TextToKids/CamemBERT-base-EmoTextToKids")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TextToKids/CamemBERT-base-EmoTextToKids") model = AutoModelForSequenceClassification.from_pretrained("TextToKids/CamemBERT-base-EmoTextToKids", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload CamembertForSequenceClassification
Browse filesFiles changed (2)
- config.jsonAdded+71
- model.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ "_name_or_path": "modeleE", "architectures": [ "CamembertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 5, "classifier_dropout": null, "eos_token_id": 6, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "Emo", "1": "Comportementale", "2": "Designee", "3": "Montree", "4": "Suggeree", "5": "Base", "6": "Complexe", "7": "Admiration", "8": "Autre", "9": "Colere", "10": "Culpabilite", "11": "Degout", "12": "Embarras", "13": "Fierte", "14": "Jalousie", "15": "Joie", "16": "Peur", "17": "Surprise", "18": "Tristesse" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Admiration": 7, "Autre": 8, "Base": 5, "Colere": 9, "Complexe": 6, "Comportementale": 1, "Culpabilite": 10, "Degout": 11, "Designee": 2, "Embarras": 12, "Emo": 0, "Fierte": 13, "Jalousie": 14, "Joie": 15, "Montree": 3, "Peur": 16, "Suggeree": 4, "Surprise": 17, "Tristesse": 18 }, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "camembert", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 1, "position_embedding_type": "absolute", "problem_type": "multi_label_classification", "torch_dtype": "float32", "transformers_version": "4.39.3", "type_vocab_size": 1, "use_cache": true, "vocab_size": 32005}123version https://git-lfs.github.com/spec/v1oid sha256:fe2ac9296eee7395fbb38a0fa046c91b480a85f14f96a095f7ba91a5de543a5dsize 442570396config.jsonAdded+71
model.safetensorsAdded+3