TinyLlama.cpp 1.0
A lightweight C++ implementation of the TinyLlama language model
Loading...
Searching...
No Matches
model_config.h
Go to the documentation of this file.
1#ifndef MODEL_CONFIG_H
2#define MODEL_CONFIG_H
3
4#include <nlohmann/json.hpp>
5#include "model.h"
6
7struct GGUFData;
8
9ModelConfig parse_model_config(const nlohmann::json& json);
10
12
13#endif // MODEL_CONFIG_H
ModelConfig parse_model_config(const nlohmann::json &json)
ModelConfig parse_model_config_from_gguf(const GGUFData &gguf)
nlohmann::json json
Definition server.cpp:54
Complete representation of a GGUF file's contents.
Model configuration structure holding architecture and hyperparameters.
Definition model.h:80