Run this model with HF Jobs
Run asmashayea/mbart-absa 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/asmashayea/mbart-absa. 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/asmashayea/mbart-absa 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 asmashayea/mbart-absa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use asmashayea/mbart-absa with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/mbart-large-50-many-to-many-mmt") model = PeftModel.from_pretrained(base_model, "asmashayea/mbart-absa") - Notebooks
- Google Colab
- Kaggle
Upload 7 files
Browse filesFiles changed (8)
- .gitattributes+1
- README.mdAdded+202
- adapter_config.jsonAdded+34
- adapter_model.safetensorsAdded+3
- sentencepiece.bpe.modelAdded+3
- special_tokens_map.jsonAdded+69
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+528
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: facebook/mbart-large-50-many-to-many-mmtlibrary_name: peft---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** [More Information Needed]- **Funded by [optional]:** [More Information Needed]- **Shared by [optional]:** [More Information Needed]- **Model type:** [More Information Needed]- **Language(s) (NLP):** [More Information Needed]- **License:** [More Information Needed]- **Finetuned from model [optional]:** [More Information Needed]
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]- **Demo [optional]:** [More Information Needed]
## Uses
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
### Direct Use
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
[More Information Needed]
### Downstream Use [optional]
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
[More Information Needed]
### Out-of-Scope Use
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
[More Information Needed]
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
[More Information Needed]
### Recommendations
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
## Training Details
### Training Data
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
[More Information Needed]
### Training Procedure
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
#### Speeds, Sizes, Times [optional]
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
[More Information Needed]
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
[More Information Needed]
#### Factors
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
[More Information Needed]
#### Metrics
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
[More Information Needed]
### Results
[More Information Needed]
#### Summary
## Model Examination [optional]
<!-- Relevant interpretability work for the model goes here -->
[More Information Needed]
## Environmental Impact
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
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
[More Information Needed]
### Compute Infrastructure
[More Information Needed]
#### Hardware
[More Information Needed]
#### Software
[More Information Needed]
## Citation [optional]
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
**BibTeX:**
[More Information Needed]
**APA:**
[More Information Needed]
## Glossary [optional]
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
[More Information Needed]
## More Information [optional]
[More Information Needed]
## Model Card Authors [optional]
[More Information Needed]
## Model Card Contact
[More Information Needed]### Framework versions
- PEFT 0.15.212345678910111213141516171819202122232425262728293031323334{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "facebook/mbart-large-50-many-to-many-mmt", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 64, "lora_bias": false, "lora_dropout": 0.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "v_proj" ], "task_type": "SEQ_2_SEQ_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:23cdef0e701f0bf8c5197353e7452d2d00ba63ff4ba674f41c12c3ddd68e9e69size 18894856123version https://git-lfs.github.com/spec/v1oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865size 5069051123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ "additional_special_tokens": [ "ar_AR", "cs_CZ", "de_DE", "en_XX", "es_XX", "et_EE", "fi_FI", "fr_XX", "gu_IN", "hi_IN", "it_IT", "ja_XX", "kk_KZ", "ko_KR", "lt_LT", "lv_LV", "my_MM", "ne_NP", "nl_XX", "ro_RO", "ru_RU", "si_LK", "tr_TR", "vi_VN", "zh_CN", "af_ZA", "az_AZ", "bn_IN", "fa_IR", "he_IL", "hr_HR", "id_ID", "ka_GE", "km_KH", "mk_MK", "ml_IN", "mn_MN", "mr_IN", "pl_PL", "ps_AF", "pt_XX", "sv_SE", "sw_KE", "ta_IN", "te_IN", "th_TH", "tl_XX", "uk_UA", "ur_PK", "xh_ZA", "gl_ES", "sl_SI" ], "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "mask_token": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<pad>", "sep_token": "</s>", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:dc756e137ecdd30f1c30726fd274ee763104ccf81f3a2631d7037b8395c7a4bdsize 17110019123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528{ "added_tokens_decoder": { "0": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250001": { "content": "ar_AR", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250002": { "content": "cs_CZ", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250003": { "content": "de_DE", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250004": { "content": "en_XX", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250005": { "content": "es_XX", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250006": { "content": "et_EE", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250007": { "content": "fi_FI", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250008": { "content": "fr_XX", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250009": { "content": "gu_IN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250010": { "content": "hi_IN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250011": { "content": "it_IT", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250012": { "content": "ja_XX", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250013": { "content": "kk_KZ", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250014": { "content": "ko_KR", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250015": { "content": "lt_LT", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250016": { "content": "lv_LV", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250017": { "content": "my_MM", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250018": { "content": "ne_NP", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250019": { "content": "nl_XX", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250020": { "content": "ro_RO", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250021": { "content": "ru_RU", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250022": { "content": "si_LK", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250023": { "content": "tr_TR", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250024": { "content": "vi_VN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250025": { "content": "zh_CN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250026": { "content": "af_ZA", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250027": { "content": "az_AZ", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250028": { "content": "bn_IN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250029": { "content": "fa_IR", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250030": { "content": "he_IL", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250031": { "content": "hr_HR", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250032": { "content": "id_ID", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250033": { "content": "ka_GE", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250034": { "content": "km_KH", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250035": { "content": "mk_MK", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250036": { "content": "ml_IN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250037": { "content": "mn_MN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250038": { "content": "mr_IN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250039": { "content": "pl_PL", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250040": { "content": "ps_AF", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250041": { "content": "pt_XX", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250042": { "content": "sv_SE", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250043": { "content": "sw_KE", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250044": { "content": "ta_IN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250045": { "content": "te_IN", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250046": { "content": "th_TH", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250047": { "content": "tl_XX", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250048": { "content": "uk_UA", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250049": { "content": "ur_PK", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250050": { "content": "xh_ZA", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250051": { "content": "gl_ES", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250052": { "content": "sl_SI", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250053": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "ar_AR", "cs_CZ", "de_DE", "en_XX", "es_XX", "et_EE", "fi_FI", "fr_XX", "gu_IN", "hi_IN", "it_IT", "ja_XX", "kk_KZ", "ko_KR", "lt_LT", "lv_LV", "my_MM", "ne_NP", "nl_XX", "ro_RO", "ru_RU", "si_LK", "tr_TR", "vi_VN", "zh_CN", "af_ZA", "az_AZ", "bn_IN", "fa_IR", "he_IL", "hr_HR", "id_ID", "ka_GE", "km_KH", "mk_MK", "ml_IN", "mn_MN", "mr_IN", "pl_PL", "ps_AF", "pt_XX", "sv_SE", "sw_KE", "ta_IN", "te_IN", "th_TH", "tl_XX", "uk_UA", "ur_PK", "xh_ZA", "gl_ES", "sl_SI" ], "bos_token": "<s>", "clean_up_tokenization_spaces": true, "cls_token": "<s>", "eos_token": "</s>", "language_codes": "ML50", "mask_token": "<mask>", "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "sep_token": "</s>", "sp_model_kwargs": {}, "src_lang": "ar_AR", "tgt_lang": "ar_AR", "tokenizer_class": "MBart50Tokenizer", "unk_token": "<unk>"}.gitattributes+1
README.mdAdded+202
adapter_config.jsonAdded+34
adapter_model.safetensorsAdded+3
sentencepiece.bpe.modelAdded+3
special_tokens_map.jsonAdded+69
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+528