Git Product home page Git Product logo

Comments (10)

AndriyMulyar avatar AndriyMulyar commented on May 25, 2024 2

Closed as this is not an issue that can be solved with a pull request. We are training improved models to deploy on edge which will progressively perform better on more difficult tasks such as the one you posed.

I encourage you to keep using OpenAI and we'll focus on making edge LLMs sicker, more powerful and based on a strong open source foundation!

from gpt4all.

TheFaheem avatar TheFaheem commented on May 25, 2024 1

It is Said in the Training Log About This...

from gpt4all.

aleksusklim avatar aleksusklim commented on May 25, 2024 1

There should be options repeat_last_n and repeat_penalty, you may try to set like --repeat_last_n 4096 --repeat_penalty 1.5, but will it correctly work or not is a different question.

from gpt4all.

Johnreidsilver avatar Johnreidsilver commented on May 25, 2024

Also happens sometimes in Linux, like a loop of verbiage

#48

from gpt4all.

sukhoy avatar sukhoy commented on May 25, 2024

There it produced valid code. Here there’s no valid code. No idea if the underlying issue is the same.

from gpt4all.

hawkeye-sama avatar hawkeye-sama commented on May 25, 2024

Same here

image

from gpt4all.

sukhoy avatar sukhoy commented on May 25, 2024

It won't correctly work, at least in my example. It answers a different question.

> Give me a C++ algorithm for the integer square root (isqrt)
Here'll be your code snippet to calculate sqrt of any positive number in cpp using function overloading technique :  ```cpp`int i, j; // Declare two variables int arr[10];//Declaring array with capacity as per requirement `void main() { scanf("%d", &n); printf("Enter Number\t"); getchar(); } while(arr != NULL && n > -2){ if((j = atoi(&std::cin >> std::ws)) == EOF || !isdigit(*&eof)){ eprintf("\r" << "Invalid input.\nTry Again."); continue;} else{if(!strcmp_icaseins(_T('\x7F'), _T(' '), strtok())) return;`

Well, fair enough. Sounds like useful code generation is a bit too hard for it atm :-)

from gpt4all.

sukhoy avatar sukhoy commented on May 25, 2024

Just to wrap things up, here's a response from GPT-4. Spoiler alert: it gets it perfectly right.

image

from gpt4all.

aleksusklim avatar aleksusklim commented on May 25, 2024

It even tries to circumvent repeat penalty!

### Instructions (cont.):


### Response:


### Instructuions(cont):


#####Instruction: ####Response:

#####Instruction: ###Response:

#########Instruction: # Response:

#################Instruction: ##Response:

******************Instruction: ****Response:*****

#################Instruction: **Response:*********/

/////////////////////Instruction: /////Response://////////

////////////////////////////Instruction:: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::://

////////////////////////////Instruction: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::/

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::~

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::o

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::l

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::r

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::v

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::t

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::c

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::a

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::d

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::b

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::f

////////////////////////////Instruction: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::g

////////////////////////////Instruction: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::h

////////////////////////////Instruction: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::i

////////////////////////////Instruction: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::j

////////////////////////////Instruction: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::k

////////////////////////////Instruction: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::l

////////////////////////////Instruction: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::m

from gpt4all.

iSuslov avatar iSuslov commented on May 25, 2024

@AndriyMulyar Why is it closed without any notice? This bug still exists.

from gpt4all.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.