Run this model with HF Jobs
Run EasonShen/Lab8_szy 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/EasonShen/Lab8_szy. 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/EasonShen/Lab8_szy 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 EasonShen/Lab8_szy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EasonShen/Lab8_szy with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="EasonShen/Lab8_szy")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("EasonShen/Lab8_szy") model = AutoModelForTokenClassification.from_pretrained("EasonShen/Lab8_szy", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (3)
- config.jsonAdded+50
- model.safetensorsAdded+3
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ "activation_dropout": 0.0, "activation_function": "gelu_new", "architectures": [ "GPT2ForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "attn_pdrop": 0.1, "bos_token_id": 0, "embd_pdrop": 0.1, "eos_token_id": 2, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "initializer_range": 0.02, "intermediate_size": 4096, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, "layer_norm_eps": 1e-12, "layer_norm_epsilon": 1e-05, "layerdrop": 0.0, "model_type": "gpt2", "n_embd": 1024, "n_head": 16, "n_inner": null, "n_layer": 24, "n_positions": 1024, "pad_token_id": 1, "reorder_and_upcast_attn": false, "resid_pdrop": 0.1, "scale_attn_by_inverse_layer_idx": false, "scale_attn_weights": true, "scale_embedding": true, "summary_activation": null, "summary_first_dropout": 0.1, "summary_proj_to_labels": true, "summary_type": "cls_index", "summary_use_proj": true, "torch_dtype": "float32", "transformers_version": "4.38.2", "use_cache": true, "vocab_size": 42384}123version https://git-lfs.github.com/spec/v1oid sha256:81edf03e4864b2482782876916075d78706c35b7b6fd818d26effa4d0f2ffdb7size 1387087524123version https://git-lfs.github.com/spec/v1oid sha256:82e98b87c0b5ab432a7d650f5ecbd94e4109afd688e0964f6f5e8ab2bf3b2345size 4856config.jsonAdded+50
model.safetensorsAdded+3
training_args.binAdded+3