Skip to content

agilord/huggingface_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HuggingFace Tools

Dart CLI and library for searching and downloading HuggingFace models.

CLI

Search models:

dart run huggingface_tools search --query "llama" --limit 5

Download files:

dart run huggingface_tools download --model-id microsoft/DialoGPT-medium --filename pytorch_model.bin

Library

import 'package:huggingface_tools/huggingface_tools.dart';

final response = await searchModels(search: 'text generation', limit: 5);
final modelInfo = await getModelInfo('mistralai/Mistral-7B-Instruct-v0.1');
await downloadFile(modelInfo.modelFiles.first, targetFilePath: './model.bin');

About

Dart tools to search and download models from HuggingFace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages