Graph Machine Learning
PEFT
Safetensors
English
Text-Graph-to-Text
chemistry
material science
molecular design
Instructions to use liuganghuggingface/Llamole-Qwen2-7B-Instruct-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use liuganghuggingface/Llamole-Qwen2-7B-Instruct-Adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-7B-Instruct") model = PeftModel.from_pretrained(base_model, "liuganghuggingface/Llamole-Qwen2-7B-Instruct-Adapter") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from liuganghuggingface/Llamole-Qwen2-7B-Instruct-Adapter: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/liuganghuggingface/Llamole-Qwen2-7B-Instruct-Adapter/resolve/main/added_tokens.json
- Command line
-
hf download hf://liuganghuggingface/Llamole-Qwen2-7B-Instruct-Adapter/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/liuganghuggingface/Llamole-Qwen2-7B-Instruct-Adapter/resolve/main/added_tokens.json
321 Bytes
| { | |
| "<design_body>": 151648, | |
| "<design_end>": 151647, | |
| "<design_start>": 151646, | |
| "<molecule>": 151649, | |
| "<retro_body>": 151652, | |
| "<retro_end>": 151651, | |
| "<retro_start>": 151650, | |
| "<rollback_end>": 151654, | |
| "<rollback_start>": 151653, | |
| "<|endoftext|>": 151643, | |
| "<|im_end|>": 151645, | |
| "<|im_start|>": 151644 | |
| } | |