Views
No views yet
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("TromeroResearch/SciMistral-V1")
4tokenizer = AutoTokenizer.from_pretrained("TromeroResearch/SciMistral-V1")
5
6prompt = "This paper seeks to disprove that 1+1=2"
7input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("cuda")
8
9output = model.generate(input_ids, max_length=150, num_return_sequences=1, repetition_penalty=1.2, top_k=50, top_p=0.95, temperature=1.0)
10
11print(tokenizer.decode(output[0], skip_special_tokens=True))This paper seeks to disprove that 1+1=2The first thing we need to do is define what a number is, and how it relates to the world around us. A number can be defined as an abstract concept used for counting or measuring things in our environment. It’s important to note here that numbers are not physical objects; they exist only within our minds…This paper seeks to disprove that 1+1=2We do this by showing that the equation is not true in all models of arithmetic, and hence it cannot be proved from Peano Arithmetic (PA). The proof uses a technique called "forcing" which was introduced into mathematical logic by Cohen in his famous work on forcing for set theory. We show how to use forcing to construct a model of PA where 1+1 does not equal 2…