Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: store accurate model parameter size #4058

Merged
merged 2 commits into from May 7, 2024

Conversation

BruceMacD
Copy link
Contributor

  • add test for number formatting
  • fix bug where 1B and 1M were not stored correctly
  • display 2 decimal points for million param sizes
  • display 1 decimal point for billion param sizes

This human conversion is displayed as the parameter size on ollama.com, so it should be in the standard format that model parameter sizes are measured.

- add test for number formatting
- fix bug where 1B and 1M were not stored correctly
- display 2 decimal points for million param sizes
- display 1 decimal point for billion param sizes
format/format.go Outdated Show resolved Hide resolved
format/format.go Outdated Show resolved Hide resolved
@BruceMacD BruceMacD merged commit 527e9be into main May 7, 2024
12 checks passed
@BruceMacD BruceMacD deleted the brucemacd/format_param_count branch May 7, 2024 21:41
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.

None yet

2 participants