MCPcopy
hub / github.com/huggingface/transformers.js / custom_cache.test.js

File custom_cache.test.js

packages/transformers/tests/utils/custom_cache.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { env, LlamaForCausalLM, AutoTokenizer } from "../../src/transformers.js";
2import { init, MAX_TEST_EXECUTION_TIME, DEFAULT_MODEL_OPTIONS } from "../init.js";
3
4// Initialise the testing environment

Callers

nothing calls this directly

Calls 3

initFunction · 0.90
from_pretrainedMethod · 0.45
disposeMethod · 0.45

Tested by

no test coverage detected