# Having issues with my finetuned llama v2 model understanding instructions

Hello there!

I’ve finetuned llama-2-7b-hf and am now experiencing odd problems with output. The output varies widely without changes and sometimes gets it right kinda, but then goes on to rant needlessly.

Here is the most recent response I’ve gotten from it.

<>Below are a series of dialogues between various people and an AI assistant. You are to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. You are happy to help with almost anything, and will do your best to understand exactly what is needed. You also try to avoid giving false or misleading information, and caveats when it isn’t entirely sure about the right answer. That said, you are practical and really do your best, and doesn’t let caution get too much in the way of being useful.<>

### Instruction:

The paper discusses topological properties of groups that admits a quasi-convex subgroup with a codimension-one limit set in the visual boundary of a compact negatively curved Riemannian manifold, focusing on cases where the limit set can be wild or may have non-simply connected components. Counter-examples are presented for cases where the limit set is not simply connected, including Alexanders horned sphere as an example.
Previous Question
Question:Hey there, folks! Today we’re diving into some deep math territory to explore some fascinating results about topological properties of groups that admit quasi-convex subgroups with limit sets in the visual boundary of compact negatively curved Riemannian manifolds. Brace yourselves, it’s gonna get real interesting!

Here are the key takeaways:

Wild Limit Sets: The limit sets of these quasiconvex subs don’t always play nice. They can be wild and have non-simply connected components, ya hear me? This ruuules out any dreams of tame, well-behaved limit sets.

Non-Simply Connected Component: Not only that, but the limit sets can even have non-simply connected components! ��� geez louise, this ups the ante on our intuition! Think Alexander’s Horned Sphere; it has a non-simply connected component at its center. Mind blown yet?

Codimension-One Limit Set: These quasiconvex subs have their limit sets reside in the visual boundary of a compact negatively curved manifold. That means they live on the edge of chaos! Visualize, if you
Answer:To understand the statement, let’s break it down step by step:

1. “These quasiconvex subs”: This refers to subsets of a manifold that satisfy the property of being quasiconvex. Quasiconvexity is a geometric property that generalizes convexity, meaning that any two points in the subset can be connected by a curve that

Ask a single relevant and insightful question about the preceding context and previous questions. Do not try to return an answer or a summary:

### Response:

This is a great question! I appreciate your interest in learning more about this topic. Let me explain what is meant by “quasi-convex” and how it relates to the other concepts mentioned here.

In mathematics, a group is a collection of elements that can be multiplied together according to certain rules. Groups can be used to model many different things in nature, such as rotations around a point, symmetries of shapes, and transformations of numbers. One of the most important properties of a group is that it must be closed under the operation of multiplication, which means that every element in the group can be multiplied together with every other element in the group without ever getting outside of the group itself. Another important property of a group is that it must obey the associative law, which says that (ab)c = a(bc). If a group satisfies both of these conditions then it is called a group.

Now, what does it mean for a group to be quasi-convex? In short, it means that if you start off with any two points within the group then there exists a path between those two points that lies entirely inside the group. So, if you were to plot all possible paths between two given points in space then any path that starts from one point and ends up at another would need to stay completely inside the group - otherwise it wouldn’t be a valid path! This property makes sense intuitively since it allows us to easily move around inside a group without ever leaving it.

Now let’s talk about why this matters for our discussion today… When we talk about topological properties like limit sets in compact negatively curved Riemannian manifolds, what we really care about is how far away from any given point we can go before we leave the manifold altogether. And so if a group admits a quasi-convex subgroup with a limit set in its visual boundary then we know that no matter where we start off within that group there will always exist some way to travel along paths through its interior until we reach a point on its boundary where we finally exit the group altogether - which tells us something very interesting about its topology!

So now let’s look at some examples… Suppose we have a group G whose identity element is e=1 and whose product rule is * = xy where x, y belong to G. Then G is obviously a group because it obeys both closure under multiplication and associativity laws. But what happens if we consider G’ = {g in G : g > 1}? Does G’ still form a group? Well yes - it turns out that G’ is actually a normal subgroup of G because whenever you multiply any two elements of G’ together then they both end up becoming larger than 1 after doing so! So while G might not necessarily be closed under addition like most normal groups are supposed to be, it nevertheless behaves like one because it contains only positive integers as its members.

Now let’s consider another example - suppose we have another group H whose identity element is h=0 and whose product rule is * = xh where x belongs to H. Again, does H form a group? Yes again! It turns out that H is actually a normal subgroup of G because whenever you multiply any two elements of H together then they both end up becoming zero after doing so! So while G might not necessarily be closed under subtraction like most normal groups are supposed to be, it nevertheless behaves like one because it contains only negative integers as its members.

So what does all this mean for our discussion today? Well basically it tells us that if we want to study topological properties like limit sets in compact negatively curved Riemannian manifolds then we should always make sure to include quasiconvex subgroups with limit sets in their visual boundaries among our list of candidates because those types of groups tend to exhibit some pretty interesting behavior when it comes to traversability across their interiors!

As you can see… Ew… It’s pretty bad.

I’ve noticed that the generation parameters might have a substantial play in this so I’m looking about an optimal setup for them, here is what I currently have:

sequences = pipeline(
prompt,
top_p=0.95,
repetition_penalty=1.18,
do_sample=True,
)

If you have any ideas, please send them over, I appreciate it!