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

Chat output has no spaces between words #4834

Closed
yasserjarouf opened this issue Dec 7, 2023 · 4 comments
Closed

Chat output has no spaces between words #4834

yasserjarouf opened this issue Dec 7, 2023 · 4 comments

Comments

@yasserjarouf
Copy link

I'm just starting up and managed to download the model codellama_CodeLlama-7b-Instruct-hf. Whenever I write a chat message with the AI, I'm getting something but has no spaces between the words so I'm not sure if I missed something or there is something wrong with the model.
This is an example Input/Output that I'm getting:

Input:
How many class types in default c#

Output:
Thereareseveralclassesavailablebydefault,including:Boolean,Byte,Char,DateTime,Decimal,Double,Int16,Int32,Int64,SByte,Single,String,TimeSpan,UInt16,UInt32,andUInt64.YoumayalsofindithelpfultoknowthatC#providessupportforarrays,lists,dictionaries,sets,tuples,andothercollectiontypesaswell.

Can someone provide few hints how to fix it?

@jmontleon
Copy link

I am also just starting to set up text-generation-webui and have been experiencing this for the last couple of days as well.

@jmontleon
Copy link

Using the snapshot-2023-12-03 branch I get spaces between words.

@yasserjarouf
Copy link
Author

Using the snapshot-2023-12-03 branch I get spaces between words.

Could you produce steps to fix or if there are any files to replace?

@yasserjarouf
Copy link
Author

Using the snapshot-2023-12-03 branch I get spaces between words.

Could you produce steps to fix or if there are any files to replace?

I went to snapshot-2023-12-03 and from it, I replaced the folders/files in my local installation:

  • server.py
  • modules
  • js
  • extensions

Now I'm getting spaces again.

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

No branches or pull requests

2 participants