Downloads · 30 days
16
6% of all-time downloads
realalexdev/prysmisai-v1
prysmisai-v1 is a text generation model from realalexdev. Use it when you need the model to write or continue text. The card lists the license as mit.
PrysmisAI is a fine-tuned AI model specifically designed for Roblox Lua programming and game development. Built on the Qwen2-1.5B architecture, it has been trained on over 155,000+ Roblox Lua examples to provide exper…
Downloads · 30 days
16
6% of all-time downloads
All-time downloads
248
Public
Parameters
1.5B
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
PrysmisAI is a fine-tuned AI model specifically designed for Roblox Lua programming and game development. Built on the Qwen2-1.5B architecture, it has been trained on over 155,000+ Roblox Lua examples to provide expert assistance for Roblox developers.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "realalexdev/prysmisai-v1"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
input_text = "How do I create a DataStore system in Roblox?"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=500, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
curl https://api-inference.huggingface.co/models/realalexdev/prysmisai-v1 \
-X POST \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inputs": "How do I create a Roblox DataStore system?"}'
const response = await fetch("https://api-inference.huggingface.co/models/realalexdev/prysmisai-v1", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
inputs: "How do I create a Roblox DataStore system?",
parameters: {
max_length: 500,
temperature: 0.7
}
})
});
const result = await response.json();
console.log(result[0].generated_text);
Trained on 155,000+ examples covering:
local DataStoreService = game:GetService("DataStoreService")
local playerDataStore = DataStoreService:GetDataStore("PlayerData_v2")
local function savePlayerData(player, data)
local success, err = pcall(function()
playerDataStore:SetAsync("Player_" .. player.UserId, data)
end)
return success
end
local function calculateDamage(baseDamage, damageType, targetArmor)
local damageTypeData = DAMAGE_TYPES[damageType]
local armorData = ARMOR_TYPES[targetArmor]
local damage = baseDamage * damageTypeData.multiplier
local reduction = armorData.reduction
return math.floor(damage * (1 - reduction))
end
Based on Qwen2-1.5B with the following specifications:
This model is continuously being improved. Suggestions and contributions are welcome!
This model is licensed under the MIT License. You are free to use, modify, and distribute this model for any purpose.
For questions, feedback, or collaboration opportunities:
Made with ❤️ for the Roblox development community