Downloads · 30 days
10
6% of all-time downloads
juooo1117/skill-extractor-llama-3.1-8B
skill-extractor-llama-3.1-8B is a text generation model from juooo1117. Use it when you need the model to write or continue text. It is set up for mlx.
Downloads · 30 days
10
6% of all-time downloads
All-time downloads
177
Public
Parameters
8B
4.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.5 GB · 100%
How the weights are stored.
U328B · 100%
From the Hugging Face model README
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("juooo1117/skill-extractor-llama-3.1-8B")
instruction = "Extract job-related professional competencies in English JSON format from the given Korean self-introduction."
resume_text = "여기에 자기소개서 내용을 넣으세요."
messages = [{"role": "user", "content": f"{instruction}\n\n{resume_text}"}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
prompt += '{"competencies": ["'
response = generate(model=model, tokenizer=tokenizer, prompt=prompt, max_tokens=500, verbose=True)
final_output = '{["' + response