Run this model with HF Jobs
Run UdS-LSV/smole-bart 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/UdS-LSV/smole-bart. 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/UdS-LSV/smole-bart 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 UdS-LSV/smole-bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UdS-LSV/smole-bart with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("UdS-LSV/smole-bart") model = AutoModelForSeq2SeqLM.from_pretrained("UdS-LSV/smole-bart", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a7ef39c
1
Parent(s): 9789fe7
randomly initialized smole bart from small bart
Browse filesFiles changed (2)
- config.jsonAdded+53
- pytorch_model.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "_name_or_path": "smole-bart", "activation_dropout": 0.1, "activation_function": "gelu", "add_bias_logits": false, "add_final_layer_norm": false, "architectures": [ "BartForConditionalGeneration" ], "attention_dropout": 0.1, "bos_token_id": 2, "classifier_dropout": 0.0, "d_model": 256, "decoder_attention_heads": 4, "decoder_ffn_dim": 1024, "decoder_layerdrop": 0.0, "decoder_layers": 2, "decoder_start_token_id": 2, "do_blenderbot_90_layernorm": false, "dropout": 0.1, "encoder_attention_heads": 4, "encoder_ffn_dim": 1024, "encoder_layerdrop": 0.0, "encoder_layers": 2, "eos_token_id": 3, "extra_pos_embeddings": 2, "force_bos_token_to_be_generated": false, "forced_eos_token_id": 3, "gradient_checkpointing": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "init_std": 0.02, "is_encoder_decoder": true, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, "max_position_embeddings": 2048, "model_type": "bart", "normalize_before": false, "normalize_embedding": true, "num_hidden_layers": 2, "pad_token_id": 0, "scale_embedding": false, "static_position_embeddings": false, "transformers_version": "4.7.0", "use_cache": false, "vocab_size": 2723}123version https://git-lfs.github.com/spec/v1oid sha256:ed999349e2762e2006078d9179f01ac5b0ecce3cf1ad47e97dde2d7e93c369f5size 21779793config.jsonAdded+53
pytorch_model.binAdded+3