huggingface_tools 0.1.0 copy "huggingface_tools: ^0.1.0" to clipboard
huggingface_tools: ^0.1.0 copied to clipboard

Tools to search and download models from HuggingFace.

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');
0
likes
150
points
36
downloads

Publisher

verified publisheragilord.com

Weekly Downloads

Tools to search and download models from HuggingFace.

Repository (GitHub)
View/report issues

Topics

#cli #llm #tool #setup

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, http, json_annotation, path

More

Packages that depend on huggingface_tools