Run this model with HF Jobs
Run kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B 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/kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B. 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/kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B 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 kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("THUDM/chatglm2-6b") model = PeftModel.from_pretrained(base_model, "kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B/resolve/main/tokenizer_config.json
344 Bytes
| { | |
| "auto_map": { | |
| "AutoTokenizer": [ | |
| "THUDM/chatglm2-6b--tokenization_chatglm.ChatGLMTokenizer", | |
| null | |
| ] | |
| }, | |
| "clean_up_tokenization_spaces": false, | |
| "do_lower_case": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "padding_side": "left", | |
| "remove_space": false, | |
| "tokenizer_class": "ChatGLMTokenizer" | |
| } | |