View Source Tokenizers.Model (Tokenizers v0.1.1)

The struct and associated functions for the tokenizer model.

Link to this section Summary

Functions

Retrieves information about the model.

Link to this section Types

Specs

t() :: %Tokenizers.Model{reference: reference(), resource: binary()}

Link to this section Functions

Link to this function

get_model_details(model)

View Source

Specs

get_model_details(model :: t()) :: map()

Retrieves information about the model.

Infomration retrieved differs per model but all include model_type.