Views
No views yet
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3repo_id = "raafatabualazm/decompiler-v3"
4tok = AutoTokenizer.from_pretrained(repo_id, use_fast=True)
5model = AutoModelForCausalLM.from_pretrained(repo_id, torch_dtype="bfloat16", trust_remote_code=True)Replace the repo id with your own if you fork or rename this repository.