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

GGUF file parser (to support getting information from LLM models to be run with llama.cpp)

GGUF Parser #

A Dart library for parsing GGUF (GPT-Generated Unified Format) model files (e.g. files that are run with llama.cpp).

Usage #

import 'package:gguf/gguf.dart';

final gguf = await parseGgufFile('model.gguf');
print('Version: ${gguf.version}');
print('Tensors: ${gguf.tensors.length}');
print('Metadata keys: ${gguf.metadata.keys}');

Features #

  • Parse GGUF file headers and metadata
  • Extract tensor information (dimensions, types, offsets)
0
likes
150
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

GGUF file parser (to support getting information from LLM models to be run with llama.cpp)

Repository (GitHub)
View/report issues

Topics

#gguf #llamacpp #llama-cpp #llm

License

BSD-3-Clause (license)

Dependencies

json_annotation

More

Packages that depend on gguf