/ Модель

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

Лицензия
Apache 2.0
Опубликована
13 янв 2026

fabric-llm-finetune-bitnet

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

Адаптеры LoRA для моделей BitNet, дообученные на PubMedQA для ответов на биомедицинские вопросы.

169скачиваний за 30 дней4лайкавеса обновлены17 мар 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QVAC Cross-Platform 1 Bit and 2 Bit LoRA Adapters — набор адаптеров LoRA, разработанный Tether и дообученный на данных PubMedQA для ответов на биомедицинские вопросы. Адаптеры предназначены для использования с соответствующими базовыми моделями bitnet_b1_58-xl в вариантах TQ1_0 и TQ2_0; для каждой версии требуется базовая модель с той же квантизацией. Репозиторий содержит адаптеры размером около 30 МБ каждый. README описывает кроссплатформенный запуск через Vulkan и Metal на GPU разных производителей.

Модель рассчитана на структурированные запросы в формате «Q: … A:» по биомедицинской тематике, а не на обычный диалог. На посторонние вопросы она может выдавать бессвязный или галлюцинаторный текст с медицинской терминологией. Авторы предупреждают, что ответы могут быть неточными или противоречивыми и модель нельзя применять для диагностики, лечения или клинических решений. Лицензия репозитория — Apache-2.0.

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

  • ответы на структурированные вопросы по биомедицинской литературе
  • эксперименты с дообучением и инференсом BitNet на PubMedQA
  • пакетная генерация ответов на биомедицинские вопросы

Ограничения

Адаптеры не предназначены для общего диалога: вне биомедицинской тематики они могут генерировать бессвязные ответы. Результаты могут содержать ошибки и не должны использоваться для диагностики, лечения или клинических решений.

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

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

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

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

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

Открыть на Hugging Face

🚀 QVAC Cross-Platform 1 Bit and 2 Bit LoRA Adapters

Fine-tuned bitnet LoRA adapters trained using qvac-rnd-fabric-llm-bitnet - the first truly cross-platform bitnet inference and LoRA fine-tuning framework for Large Language Models. These adapters work on any GPU (Adreno, Mali, Apple Silicon, AMD, Intel, NVIDIA) using Vulkan and Metal backends.

⚠️ Important Disclaimer

These adapters are domain-specific and intended for biomedical Q&A tasks only.

The LoRA adapters were fine-tuned on PubMedQA biomedical data using a structured Q: ... A: prompt format. They are not general-purpose conversational models.

What to expect with off-topic prompts: If you provide casual or unrelated input the model will not crash, but it will produce nonsensical or hallucinated biomedical-sounding text. This is expected behavior — the adapter has shifted the model's output distribution toward medical literature, so it will attempt to generate biomedical content regardless of the input.

For best results:

  • Use the structured format: "Q: <your biomedical question>\nA:"
  • Keep prompts within the biomedical/clinical domain
  • Use recommended temperature settings (0.3–0.5 for factual answers)

This model is a research artifact and must NOT be used for actual medical diagnosis, treatment decisions, or clinical advice. The outputs may contain inaccuracies, hallucinations, or contradictory statements. Always consult qualified healthcare professionals for medical guidance.


📦 Available Adapters

AdapterSizeBase Model
Bitnet_b1_58-xl Tq1_0 Lora Adapter30MBbitnet_b1_58-xl-TQ1_0
Bitnet_b1_58-xl Tq2_0 Lora Adapter30MBbitnet_b1_58-xl-TQ2_0l

🚀 Empowering the Community with Open Resources

To accelerate development and innovation, Tether is publicly releasing:


🎯 Quick Start Guide

Direct Inference

Use the adapter directly without merging

Step 1: Download Platform-Specific Binary

Please download the latest binaries from the release page.

qvac-fabric-llm.cpp/releases

Step 2: Download Base Model & Adapter

Choose your model and download both base model and adapter:

# Create directories
mkdir -p models adapters

wget https://huggingface.co/qvac/fabric-llm-finetune-bitnet/resolve/main/1bitLLM-bitnet_b1_58-xl-tq1_0.gguf
wget https://huggingface.co/qvac/fabric-llm-finetune-bitnet/resolve/main/tq1_0-biomed-trained-adapter.gguf

Note : Use same quantization model with same adapter. The adapters are in FP16 but they need to be used with the models they were trained with. 

Step 3: Run Inference with Adapter

# Interactive chat mode
./bin/llama-cli \
  -m models/base.gguf \
  --lora adapters/adapter.gguf \
  -ngl 999 \
  -c 2048 \
  --temp 0.7 \
  -p "Q: Does vitamin D supplementation prevent fractures?\nA:"

# Single prompt mode
./bin/llama-cli \
  -m models/base.gguf \
  --lora adapters/adapter.gguf \
  -ngl 999 \
  -p "Explain the mechanism of action for beta-blockers in treating hypertension."

Expected Output:

Q: Does vitamin D supplementation prevent fractures?
A: Yes. Rationale: Meta-analysis of randomized controlled trials shows that 
vitamin D supplementation, particularly when combined with calcium, significantly 
reduces the risk of hip fractures and other non-vertebral fractures in elderly 
populations...

Custom Temperature & Sampling

Fine-tune the generation parameters for your use case:

./bin/llama-cli \
  -m models/base.gguf \
  --lora adapters/adapter.gguf \
  -ngl 999 \
  --temp 0.3 \        # Lower = more focused (good for medical)
  --top-p 0.9 \       # Nucleus sampling
  --top-k 40 \        # Top-k sampling
  --repeat-penalty 1.1 \
  -n 512 \            # Max tokens to generate
  -p "Your prompt"

Recommended settings for biomedical Q&A:

  • Temperature: 0.3-0.5 (deterministic, factual)
  • Temperature: 0.7-0.9 (creative explanations)

Batch Processing

Process multiple prompts from a file:

# Create prompts file
cat > prompts.txt << 'EOF'
Q: Does vitamin D supplementation prevent fractures?
Q: Is aspirin effective for primary prevention of cardiovascular disease?
Q: Do statins reduce mortality in patients with heart failure?
EOF

# Process all prompts
cat prompts.txt | while read prompt; do
  echo "=== Processing: $prompt ==="
  ./bin/llama-cli \
    -m models/base.gguf \
    --lora adapters/adapter.gguf \
    -ngl 999 \
    --temp 0.4 \
    -p "$prompt\nA:"
  echo ""
done

📋 Command Line Reference

Essential Flags

FlagDescriptionExampleDefault
-mBase model path (REQUIRED)-m model.gguf-
--loraLoRA adapter path--lora adapter.ggufnone
-nglGPU layers (999 = all)-ngl 9990
-cContext size-c 2048512
-pPrompt text-p "Question"-
--tempTemperature (0-2)--temp 0.70.8
-nMax tokens to generate-n 512-1
-bBatch size-b 512512
--flash-attnFlash attention--flash-attn off on

Mobile-Specific Flags

For Android/iOS with limited memory:

./bin/llama-cli \
  -m model.gguf \
  --lora adapter.gguf \
  -ngl 99 \           # Partial GPU offload
  -c 512 \            # Smaller context
  -b 128 \            # Smaller batch
  -fa off \           # Disable flash attention (Vulkan)
  -ub 128             # Uniform batch size

🌍 Cross-Platform Compatibility

Supported Platforms

These adapters work identically across:

PlatformHardwareBackendStatus
✅ AndroidQualcomm Adreno, ARM MaliVulkanSupported
✅ iOSApple A-seriesMetalSupported
✅ macOSApple M1/M2/M3/M4MetalSupported
✅ LinuxAMD, Intel, NVIDIAVulkanSupported
✅ WindowsAMD, Intel, NVIDIAVulkanSupported
✅ CPUAny x86_64, ARM64CPUFallback

No Conversion Needed

Unlike traditional frameworks:

  • ❌ No need to convert between different frameworks
  • ❌ No platform-specific model formats
  • ❌ No separate training for each device
  • ✅ Train once, run everywhere!

📚 Additional Resources

Documentation

Binary usage and Documentation

Platform-Specific Guides

Community


🔍 Troubleshooting

Common Issues

1. "DeviceLost" error on Android/Adreno:

# Use smaller batch size and disable flash attention
./bin/llama-cli -m model.gguf --lora adapter.gguf -ngl 99 -c 512 -b 128 -ub 128 -fa off

2. Out of Memory (OOM) errors:

# Reduce context size or use smaller model
./bin/llama-cli -m model.gguf --lora adapter.gguf -ngl 50 -c 512

3. Slow inference on mobile:

# Offload fewer layers to GPU
./bin/llama-cli -m model.gguf --lora adapter.gguf -ngl 20

4. Adapter not loading:

# Verify adapter file exists and matches model architecture
ls -lh adapters/
./bin/llama-cli -m model.gguf --lora adapter.gguf --verbose

📝 Citation

If you use these adapters in your research, please cite:

@article{qvac-bitnet-finetune,
  title={LoRA Fine-Tuning BitNet b1.58 LLMs on Heterogeneous Edge GPUs via QVAC Fabric},
  author={Subash SN, Akshay Nambiar, Milan Gritta, Zhen Cong Chen, Arsalan Anwari, Gianni, Amril Nurman},
  blog={Huggingface Blog},
  year={2026}
}

📄 License

  • LoRA Adapters: Apache 2.0 License
  • Base Models:
  • Training Framework (qvac-fabric-llm-bitnet): Apache 2.0 License

🙏 Acknowledgments

  • bitnet.cpp - Foundation inference engine by microsoft based on llama.cpp by Georgi Gerganov
  • LoRA - Parameter-efficient fine-tuning method (Hu et al., 2021)
  • PubMedQA - Biomedical dataset source (Jin et al., 2019)
  • Microsoft Team - Base models
  • Hardware vendors who provided testing devices

Making LLM fine-tuning accessible to everyone, everywhere

From smartphones to datacenters • No vendor lock-in • Privacy-preserving

⭐ Star the qvac-fabric-llm-bitnet-finetune repo if you find it useful!

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

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

GPU в ailist

llama.cpp

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

Подбираем GPU…

Ревизия весов
9fb2abf

0 моделей