Run this model with HF Jobs
Run LEIA/LEIA-LM-base 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/LEIA/LEIA-LM-base. 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/LEIA/LEIA-LM-base 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 LEIA/LEIA-LM-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LEIA/LEIA-LM-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="LEIA/LEIA-LM-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("LEIA/LEIA-LM-base") model = AutoModelForMaskedLM.from_pretrained("LEIA/LEIA-LM-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files2 unmodified lines3456789106 unmodified lines171819202122232 unmodified lineslanguage:- enlibrary_name: transformerswidget:- text: ""---This is a BERTweet-base model that has been further pre-trained with preferential masking of emotion words for 100k steps on about 6.3M Vent posts.6 unmodified lines@article{aroyehun2023leia,title={LEIA: Linguistic Embeddings for the Identification of Affect},author={Aroyehun, Segun Taofeek and Malik, Lukas and Metzler, Hannah and Haimerl, Nikolas and Di Natale, Anna and Garcia, David},journal={arXiv preprint arXiv:2304.10973},year={2023}}```2 unmodified lines34567896 unmodified lines1617181920212223242 unmodified lineslanguage:- enlibrary_name: transformers---This is a BERTweet-base model that has been further pre-trained with preferential masking of emotion words for 100k steps on about 6.3M Vent posts.6 unmodified lines@article{aroyehun2023leia,title={LEIA: Linguistic Embeddings for the Identification of Affect},author={Aroyehun, Segun Taofeek and Malik, Lukas and Metzler, Hannah and Haimerl, Nikolas and Di Natale, Anna and Garcia, David},journal={EPJ Data Science},volume={12},year={2023},publisher={Springer}}```
README.md+5-4