package kaun

  1. Overview
  2. Docs
Flax-inspired neural network library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha1.tbz
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c

doc/kaun.huggingface/Kaun_huggingface/Config/index.html

Module Kaun_huggingface.ConfigSource

Sourcetype t = {
  1. cache_dir : cache_dir;
    (*

    Directory to cache downloaded models. Default: ~/.cache/kaun/huggingface

    *)
  2. token : string option;
    (*

    Optional HuggingFace API token for private models

    *)
  3. offline_mode : bool;
    (*

    If true, only use cached models, don't download

    *)
  4. force_download : bool;
    (*

    If true, re-download even if cached

    *)
  5. show_progress : bool;
    (*

    If true, show download progress

    *)
}
Sourceval default : t

Default configuration with sensible defaults

Sourceval from_env : unit -> t

Load configuration from environment variables:

  • KAUN_HF_CACHE_DIR
  • KAUN_HF_TOKEN
  • KAUN_HF_OFFLINE_MODE