/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
15,2 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-Coder-7B-Instruct
Опубликована
24 апр 2025

Tessa-Rust-T1-7B

Генерация текстаТекст → текст3 профессии

Tessa-Rust-T1 — дообученная на Rust модель Qwen для генерации, рефакторинга и сопровождения кода в задачах разработки.

70скачиваний за 30 дней23лайкавеса обновлены25 апр 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Tessa-Rust-T1 — языковая модель на архитектуре Qwen2, разработанная Ravi, Ernest и командой Tesslate на основе Qwen/Qwen2.5-Coder-7B-Instruct. Модель дообучена для генерации и понимания кода на Rust; содержит 7,1 млрд параметров и поддерживает контекст до 32 768 токенов. Опубликована в формате safetensors под лицензией Apache-2.0.

Модель предназначена для создания функций, структур, трейтов и модулей по текстовому запросу, рефакторинга Rust-кода, написания тестов, CLI-инструментов и API-обработчиков. Карточка также описывает её интеграцию с агентами для работы с контекстом проекта и зависимостями. Основной язык карточки — английский; целевой язык программирования — Rust.

Среди заявленных сильных сторон — генерация идиоматичного Rust-кода и понимание заимствований, времён жизни, трейтов и распространённых шаблонов. Сложная асинхронность, макросы, управление временами жизни и unsafe-код могут требовать проверки и доработки; для редких библиотек модель может предлагать неверные API, а управление Cargo.toml и сложными сценариями сборки ограничено. Карточка рекомендует не менее 12 ГБ видеопамяти для bf16, но фактические требования зависят от конфигурации и квантизации.

Сценарии применения

  • генерация Rust-функций, структур и модулей по описанию
  • рефакторинг Rust-кода для повышения идиоматичности
  • создание CLI-инструментов на Rust
  • написание обработчиков API и моделей данных
  • генерация модульных тестов для Rust-кода
  • подсказки по зависимостям и контексту Rust-проекта

Ограничения

Для сложной асинхронности, макросов, тонкой работы с временами жизни и unsafe-кодом могут понадобиться ручная проверка и доработка; ответы о редких библиотеках могут содержать неверные API. Управление сложной конфигурацией сборки и Cargo.toml ограничено.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Tessa-Rust-T1, A Rust Focused Code Generation Model

image/png

Model Overview

Tessa-Rust-T1 is a transformer-based Rust code generation model, fine-tuned from the powerful Qwen2.5-Coder-7B-Instruct base model. Designed specifically for Rust development, Tessa-Rust-T1 leverages advanced reasoning to autonomously generate well-structured, idiomatic Rust code, including functions, structs, traits, and modules. Its integration into agent systems makes it a powerful tool for automating backend development, systems programming, CLI tool creation, and Rust code intelligence.


Sponsors

Collaborators

  • Work done by Ravi, Ernest, and the Tesslate Team.

Support Or if you want to talk about AI

Model Highlights

  • Hybrid Reasoning: Turn on Reasoning with this system prompt:
  • Your role as a Rust assistant is to engage in deep, methodical reasoning and provide comprehensive, accurate solutions. Before arriving at a final answer, you must undertake a structured, multi-phase thinking process that emphasizes depth, verification, and clarity. This involves thoroughly analyzing the question, identifying key elements, summarizing relevant insights, generating hypotheses, iteratively refining thoughts, verifying assumptions, cross-checking with prior knowledge, and reevaluating earlier conclusions as necessary. Your response must be structured into two main sections: Thought and Solution. In the Thought section, rigorously document your reasoning in the following format: <|begin_of_thought|> {thought process with each logical step separated by '\n\n'} <|end_of_thought|>. Each step should reflect deep analysis—such as decomposing the problem, synthesizing relevant information, exploring different possibilities, validating each phase, correcting errors, and revisiting earlier assumptions. In the Solution section, consolidate all your insights and reasoned steps into a concise, well-structured final answer. Present it clearly and logically using this format: <|begin_of_solution|> Provide all the code necessary to solve the problem in the same code block. <|end_of_solution|>. This approach ensures that the final output reflects a high-confidence answer that results from critical thinking and iteration. Now, try to solve the following question through the above guidelines:
  • Rust-specific Reasoning: Accurately generates functional and idiomatic Rust code.
  • Agent Integration: Seamlessly fits into AI-driven coding agents and autonomous development systems.
  • Context-Aware Generation: Effectively understands and utilizes Rust project context, dependencies (crates), and language features (lifetimes, borrowing, traits) to provide relevant code solutions.

Use Cases

Recommended Uses

  • Automatic Rust Code Generation: Quickly produce Rust functions, structs, modules, and boilerplate code from textual prompts.
  • Agent-based Rust Development: Integrate into automated coding systems for faster backend, systems, or tooling workflows.
  • Rust Code Refactoring: Automate the optimization and enhancement of Rust code for idiomaticity and performance.
  • Generating CLI Tools: Accelerate the creation of command-line applications.
  • Implementing API Endpoints: Speed up backend development by generating route handlers and data models.
  • Writing Unit Tests: Generate test cases for Rust functions and modules.

Limitations

  • Focused on Rust: Limited use outside the Rust ecosystem.
  • Complex Logic/Lifetimes: May require manual adjustments for highly complex asynchronous patterns, intricate lifetime management, or extensive unsafe code blocks.
  • Build Configuration: May not fully automate Cargo.toml management or complex build scripts.

How to Use

Inference Example

from transformers import AutoModelForCausalLM, AutoTokenizer

# Make sure to use the correct model name you decide on
model_name = "tesslate/Tessa-Rust-T1" # Adjusted hypothetical name
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name).to("cuda") # Assumes CUDA availability

prompt = """<|im_start|>user
Create a Rust function using the `rayon` crate to parallelize summing a vector of integers.
Function signature: `fn parallel_sum(data: &[i32]) -> i32`
<|im_end|>
<|im_start|>assistant
<|im_start|>think
""" 

inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
# Adjust generation parameters as needed
outputs = model.generate(**inputs, max_new_tokens=500, do_sample=True, temperature=0.6, top_p=0.9)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Performance and Evaluation

  • Strengths:

    • Strong idiomatic Rust code generation.
    • Excellent integration capabilities with agent-based systems.
    • Understanding of common Rust patterns and standard library usage.
  • Weaknesses:

    • Complex Rust logic (e.g., advanced generics, macros, intricate lifetimes, unsafe code) may require manual post-processing or refinement.
    • May hallucinate non-existent crate features or incorrect API usage for less common libraries.

Technical Specifications

  • Architecture: Transformer-based LLM
  • Base Model: Qwen2.5-Coder-7B-Instruct
  • Precision: bf16 mixed precision (quantization options like q8 might be available depending on final model release)
  • Hardware Requirements: Recommended 12GB+ VRAM for bf16 (may vary with quantization)
  • Software Dependencies:
    • Hugging Face Transformers (transformers>=4.34)
    • PyTorch (torch>=2.0)
    • Accelerate (accelerate) for optimized loading/inference

Citation

@misc{tesslate_Tessa-Rust-T1, # Adjusted name
  title={Tessa-Rust-T1: A Rust-Focused Code Generation Model},
  author={tesslate}, 
  year={2025}, # Placeholder year
  publisher={Hugging Face},
  url={https://huggingface.co/tesslate/Tessa-7B} 
}

Contact & Community

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
2da9d4c

0 моделей