Downloads · 30 days
81
1% of all-time downloads
mishl/Regex-AI-Llama-3.2-1B
Regex-AI-Llama-3.2-1B is a text generation model from mishl. Use it when you need the model to write or continue text. The card lists the license as llama3.2.
<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/
Downloads · 30 days
81
1% of all-time downloads
All-time downloads
5.4K
Public
Repo size
5.8 GB
Likes
1
Public
Click a slice to open those files.
.gguf3.3 GB · 57%
From the Hugging Face model README
This model is a fine-tuned version of meta-llama/Llama-3.2-1B-Instruct specifically trained on the phongo/RegEx dataset for generating regular expressions. It aims to provide accurate and efficient regex solutions based on natural language descriptions of the desired pattern.
phongo/RegEx dataset, which contains pairs of natural language descriptions and corresponding regular expressions.This model is intended for generating regular expressions based on natural language descriptions. While it strives for accuracy, it's important to test the generated regex thoroughly. Like all language models, it may occasionally produce incorrect or suboptimal results. The model is not responsible for the usage of the generated regexes.
Limitations:
You can use this model with the following code:
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="mishl/Regex-AI-Llama-3.2-1B",
filename="unsloth.Q4_K_M.gguf", # Or unsloth.F16.gguf
)
llm.create_chat_completion(
messages = [
{
"role": "user",
"content": "Create regex for masked links like this [website](www.example.com)"
}
]
)