Skip to content

Swift app#1

Merged
NouamaneTazi merged 3 commits into
bigcode-project:mainfrom
pcuenca:swift-app
May 16, 2023
Merged

Swift app#1
NouamaneTazi merged 3 commits into
bigcode-project:mainfrom
pcuenca:swift-app

Conversation

@pcuenca

@pcuenca pcuenca commented May 15, 2023

Copy link
Copy Markdown
Contributor

generate.cpp is a copy of main.cpp with some modifications necessary for a better experience:

  • Model is loaded once.
  • Generation callback to show progress.

Ideally we should merge those files and keep just one copy that supports both the command-line and the app use cases. We can do that in a followup PR.

Generation is using default parameters.

@NouamaneTazi NouamaneTazi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very clean! One minor comment before we can merge this awesomeness

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this icon still used?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a placeholder until I can get a StarCoder version :) Slack comment [internal]: https://huggingface.slack.com/archives/C031GD0V5S5/p1684176403377149?thread_ts=1683292595.926539&cid=C031GD0V5S5

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found one.

@NouamaneTazi NouamaneTazi merged commit 0929b2f into bigcode-project:main May 16, 2023
@pcuenca pcuenca deleted the swift-app branch May 16, 2023 09:33
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.

2 participants