- Machine: EVO-X2
- CPU: AMD Ryzen AI Max+ 395
- OS: Windows 11 Pro 24H2
- RAM: 64GB
- VRAM 64GB
- Ollama: 0.12.6
| Model | Parameters | Size (GB) | Prompt | Eval |
|---|---|---|---|---|
| hf.co/unsloth/gpt-oss-120b-GGUF:latest | 117B | 60.88 | 279.10 | 33.09 |
| """ | |
| Simple RL training script for teaching a model to add. | |
| Demonstrates REINFORCE and GRPO algorithms in a minimal implementation. | |
| If you want to run this script, put it inside of nanochat/scripts/ and run it with: | |
| python -m scripts.simple_rl | |
| First add "matplotlib>=3.9.0" to pyproject.toml and run 'uv sync' | |
| I wrote a separate script to download the weights for the model: |
| Model | Parameters | Size (GB) | Prompt | Eval |
|---|---|---|---|---|
| hf.co/unsloth/gpt-oss-120b-GGUF:latest | 117B | 60.88 | 279.10 | 33.09 |
For those who might be having edge case behavior, or oddity with start/restart of opencode not retaining last used model properly, or "changing to a different model name" it's likely because of incorrect recommended setup in the opencode.json config file documented in the plugin repo.
You might try the config below, where model id is the key in the models object rather than user-friendly name.
This solved the odd behavior for me with launching opencode and /models slash command - it also provides shorter model names and easier search for all models with "oauth".
| --- | |
| description: At the end of any task | |
| globs: * | |
| --- | |
| At the end of any task run the command `osascript -e display notification "{message}" with title "{title}"`. Fill in message and title based on the task you just completed |
Run dev network:
# set to an L1 node RPC
eth_rpc=""
# run 7702-enabled local forked network
anvil --fork-url "$eth_rpc" --auto-impersonate --odyssey| font-family = BerkeleyMono Nerd Font | |
| #font-family = Iosevka Nerd Font | |
| # font-family = SFMono Nerd Font | |
| font-size = 20 | |
| theme = GruvboxDarkHard | |
| shell-integration-features = no-cursor,sudo,no-title | |
| cursor-style = block | |
| adjust-cell-height = 35% | |
| # background-opacity = 0.96 |
| LOAD DATABASE | |
| FROM mysql://MY_PLANETSCALE_USERNAME:[email protected]/MY_DATABASE?sslmode=require | |
| INTO postgres://MY_NEON_USERNAME:endpoint=ep-MY_ENDPOINT_ID;MY_NEON_PASSWORD@ep-MY_ENDPOINT_ID.eu-central-1.aws.neon.tech/MY_DATABASE?sslmode=require | |
| WITH include drop, create tables, quote identifiers | |
| ALTER schema 'MY_DATABASE' rename to 'public' | |
| ; |
| static async calcPreVerificationGas( | |
| userOp: UserOperationType, | |
| chainId: number, | |
| entryPointContract: ethers.Contract, | |
| overheads?: Partial<DefaultGasOverheadType>, | |
| ) { | |
| const { defaultGasOverheads } = config; | |
| const ov = { ...defaultGasOverheads, ...(overheads ?? {}) }; | |
| const p: UserOperationType = { | |
| ...userOp, |