Skip to content

Conversation

@petrlavrov-sl
Copy link
Owner

Make sure to read the contributing guidelines before submitting a PR

calmmage added 19 commits March 10, 2025 20:12
To test the new api rng provider for llama.cpp
- Implement ExternalAPIRNGProvider class using libcurl for HTTP requests
- Add support in create_rng_provider for external-api provider type
- Update run.py to validate required api_url parameter
- Enhance config.yaml with better documentation for RNG providers
- Update external-api-rng.md with proper implementation details

The external API provider fetches random numbers from a REST API
that returns JSON with a "random" field (value between 0-1).
This enables reproducible token generation by controlling the
random number sequence through an external service.
- add gemma-2b to the model_setup.md
- Throw an error if the API service is unavailable for ExternalAPIRNGProvider
- fix run.py:
a) use correct context limit argument for running the llama-run
b) handle errors correctly
c) fix script paths and convert to pathlib
@petrlavrov-sl petrlavrov-sl changed the base branch from dev-1-log-and-visualize-rng-distribution to master March 19, 2025 16:17
@petrlavrov-sl petrlavrov-sl changed the title v0.0.1 - rearrange files Visualize token probabilities Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants