How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="tocsa/llama2-7b-dapt-chipdesign")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("tocsa/llama2-7b-dapt-chipdesign")
model = AutoModelForCausalLM.from_pretrained("tocsa/llama2-7b-dapt-chipdesign", device_map="auto")
Quick Links

Llama-2-7B + domain-adaptive pretraining (chip-design corpus: Wikipedia/GitHub/arXiv, see 01_data_curation and 03_domain_adaptive_pretraining). Base checkpoint: meta-llama/Llama-2-7b-hf. Not chained with the SFT repo below.

Downloads last month
13
Safetensors
Model size
7B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for tocsa/llama2-7b-dapt-chipdesign

Finetuned
(990)
this model