Downloads · 30 days
0
0% of all-time downloads
ArmurAI/L3_8B_Aptos_Smart_Contract_Analyser
L3_8B_Aptos_Smart_Contract_Analyser is a machine learning model from ArmurAI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
- Name: L38BAptosSmartContractAnalyser - Organization: Armur - Project: Aptos Smart Contract Audit - License: apache-2.0 - language: en
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
1
Public
Repo size
168 MB
Likes
0
Public
Click a slice to open those files.
.safetensors168 MB · 95%
From the Hugging Face model README
from transformers import AutoModelForCausalLM, AutoTokenizer
model_path = "PATH_TO_THIS_REPO"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(
model_path,
device_map="auto",
torch_dtype='auto'
).eval()
# Prompt content: "hi"
messages = [
{"role": "user", "content": Move_Smart_Contract}
]
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
output_ids = model.generate(input_ids.to('cuda'))
response = tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=True)
# Model response: "-- Vulnerabilites --"
print(response)
L3_8B_Aptos_Smart_Contract_Analyser is a cutting-edge AI model designed for comprehensive analysis and security auditing of smart contracts on the Aptos blockchain. We utilized the ArmurAI/L3_8B base model, enhanced it with extensive knowledge of Aptos-specific vulnerabilities and best practices, and fine-tuned it with a vast dataset of both secure and vulnerable smart contracts.
Identifies critical security flaws in Aptos smart contracts:
Leverages deep understanding of the Move language to detect:
Identifies risks in inter-module interactions:
Scrutinizes:
Detects:
For more details and to access the tool, visit the ArmurAI GitHub repository.