mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 23:34:10 +08:00
docs: overhaul retrieval accuracy benchmark
This commit is contained in:
@@ -1,13 +1,3 @@
|
||||
/**
|
||||
* Shared utility functions for TOON benchmarks
|
||||
*
|
||||
* Provides common functionality used across multiple benchmark scripts:
|
||||
* - Progress bar visualization
|
||||
* - Token counting
|
||||
* - File I/O operations
|
||||
* - Retry logic for API calls
|
||||
*/
|
||||
|
||||
import * as fsp from 'node:fs/promises'
|
||||
import { encode } from 'gpt-tokenizer'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user