Views
No views yet
1{
2 "messages": [
3 {
4 "role": "system",
5 "content": "You are a cybersecurity analyst specializing in WebAuthn and FIDO2 security vulnerabilities..."
6 },
7 {
8 "role": "user",
9 "content": "Based on the following analysis, provide the fix..."
10 },
11 {
12 "role": "assistant",
13 "content": "Upgrade dependency 'log4j' from '2.14.1' to '2.17.1'..."
14 }
15 ],
16 "metadata": {
17 "quality": "high",
18 "source": "generated",
19 "chat_template": "chatml"
20 }
21}1from mlx_lm import load, generate
2
3model, tokenizer = load("hitoshura25/webauthn-security-v1_20251009_152808")
4prompt = "Analyze this WebAuthn vulnerability: CVE-2024-XXXXX"
5response = generate(model, tokenizer, prompt, max_tokens=500)
6print(response)1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("hitoshura25/webauthn-security-v1_20251009_152808")
4tokenizer = AutoTokenizer.from_pretrained("hitoshura25/webauthn-security-v1_20251009_152808")
5
6messages = [
7 {"role": "system", "content": "You are a cybersecurity analyst..."},
8 {"role": "user", "content": "Analyze vulnerability: ..."}
9]
10
11inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
12outputs = model.generate(inputs, max_new_tokens=500)
13print(tokenizer.decode(outputs[0]))training-recipe.yaml in repositorytraining_metadata.json1@misc{webauthn-security-20251009,
2 title={WebAuthn Security Analysis with MLX-Finetuned OLMo},
3 author={WebAuthn Security Research},
4 year={2025},
5 url={https://huggingface.co/hitoshura25/webauthn-security-v1_20251009_152808}
6}