ofcourse

@ofcourse@kbin.social
ofcourse,

You can absolutely self host LLMs. HELM team has done an excellent job benchmarking the efficiency of different models for specific tasks so that would be a good place to start. You can balance model performance for your specific task with the model’s efficiency - in most situations, larger models are better performing but use more GPUs or are only available via APIs.

There are currently 3 different approaches to use AI for a custom task and application -

  1. Train a base LLM from scratch - this is like creating your own GPT-by_autopilot model. This would be the maximum level of control, however the amount of compute, time, and data required for training does not make this an ideal approach for the end user. There are many open source base LLMs already published on HuggingFace that can be used instead.

  2. Fine-tune a base LLM - starting with a base LLM, it can be fine tuned for a certain set of tasks. For example, you can fine tune a model to follow instructions or use as a chatbot. InstructGPT and GPT3.5+ are examples of fine tuned models. This approach allows you to create a model that can understand a specific domain or a set of instructions particularly well as compared to the base LLM. However, any time that training a large model is needed, it will be an expensive approach. If you are starting out, I’ll suggest exploring this as a v2 step for improving your model.

  3. Prompt engineering or indexing using an existing LLM - starting with an existing model, create prompts to achieve your objective. This approach gives you the least control over the model itself, but is the most efficient. I would suggest this as the first approach to try. Langchain is the most widely used tool for prompt engineering and supports using self hosted base- or instruct-LLM. If your task is search and retrieval, an embeddings model is used. In this scenario, you generate embeddings for all your content and store the embeddings as vectors. For a user query, you then convert it to an embedding using the same model, and finally retrieve the most similar content based on vector similarity. Langchain provides this capability, but IMO, sentence-transformers may be a better starting point for a self hosted retrieval application. Without any intention to hijack this post, you can check out my project - synology-photos-nlp-search - as an example of a self hosted retrieval application.

To learn more, I have found the recent deeplearning.ai short courses to be quite good - they are short, comprehensive, and free.

Wouldn't the fediverse work better if it was like a drive array rather than independent communities on independent servers?

I get the impression that we’re headed for the same issues that pop up when we put all our eggs in one basket with Reddit/FB/whatever. People flock to the largest instance, and someday that instance could go down due to cost or the host losing interest....

ofcourse, (edited )

I agree with OP that instances being closed any time is an issue that would need to be resolved fairly soon. A solution in my opinion would be the option to transfer user accounts across instances. This would help with an instance closing and eventually make the fediverse more stable.

A new user currently has a choice for joining from a number of instances but there is no assurance to ongoing existence for them. Along with that, afaik there is no way to transfer user accounts and data across instances. If a user can transfer their accounts and data, there will be less hesitancy to join a new instance, and user accounts and data can be distributed across more instances. This can also work in such a way that if a subset of user data does not meet the criteria for another instance, then that subset of data is not migrated (most likely a community based data filter).

Another issue is with the presence of same community/magazine in multiple instances (let’s say tech@lemmy.this and tech@kbin.that) which is frustrating for users since they need to track multiple communities for similar content and the same content is being copied to multiple communities. This should also be resolved by implementing account migration. We are already seeing that communities on certain instances are becoming the prevalent ones. This creates an incentive for the admin of those instances to not shut down. And if they did decide to shut down the instance, then the users can just migrate to another instance and the prevalent community will also get to keep all its data, just in the new instance.

Anybody who gained muscle and lost weight, how did you do it?

Title says it all, i want to lose weight and also build some muscle, ive have been hitting the gym and cutting my calories by 500-900cal for the past two months, while i am seeing some muscle growth, its not very substantial or something people around me will notice, ive also lost about 2kgs which is not much so i am thinking of...

ofcourse, (edited )

Eating at a deficit makes trying to gain muscle a slow process. If you would like to gain muscle faster, your strategy of going surplus seems right. Keep at it, you are doing the right things and it will show eventually! Additionally, here’s some broad suggestions in case some resonate with you and others.

Diets and regimens work differently for different people. So I would preface everything by - what works for me or someone else may not work for you and you’ll need to do some trial and error to figure out what would work the best for you.

I read somewhere that you count calories to manage weight and exercise to get into/maintain shape. So that’s my TL;DR.

  • Weight - Weight will always be determined by calories in, calories out. Your metabolism, macronutrients intake, sleep behavior, activity level, genetics, mental health will all impact how much calories your body consumes in a typical day. When starting off, try to count the calories you are consuming as accurately as possible. Monitor your weight over a few weeks and find your average caloric consumption based on that. Then use this to determine how much calories you should be consuming to get to the desired weight within the desired period.
  • Carbs - Avoid too many carbs and definitely avoid high glycemic index carbs as much as possible. This is anything with simple carbs that the body breaks up easily. They are great to give you quick boosts of energy but they also fluctuate your glucose levels, and make you feel hungry sooner. This makes it hard to eat within a caloric limit and gives the unpleasant sugar highs and lows. That said, carbs are a macronutrient so don’t eliminate them completely. In fact they may help when trying to push your body harder in your workouts.
  • Proteins - Protein is essential for your body to create and grow muscle tissue. It’s hard to get enough protein for muscle growth just from food sources without messing up total calories so supplements help. Get 25% or more of your daily calories from high quality protein when trying to gain muscle.
  • Diets - Some of the recommended diets are intermittent fasting (IF), keto, paleo, vegetarian, vegan, etc. These diets have impacts beyond just your body weight but I would not get into them for this post. For your question, the most important aspect of all these diets is that they make it easier to manage your caloric intake. All these diets would also generally help you get the right macronutrients. I would suggest reading about them, finding what resonates with you and giving some a shot.
  • Muscle - Compound exercise weight training with exercises that work multiple muscles, like squats, deadlifts, presses, and chin ups are good for beginners. Form is more important than the weight. Some people can get into very good shape with calisthenics only. Try to avoid machines in the beginning. Weight machines work fewer muscles at a time and don’t contribute to improving balance. As you learn more about your body and the exercises, you can add and modify them to what suits you the best.
  • Sleep - Get good sleep and maintain your mental health. Sleep is essential for your body to work its magic of building muscle. And, if any of the above is making you miserable, it will be hard to stick with it for the long term. What even would be the point of looking great if you don’t feel good!

Personally, I’ve never been able to gain muscle and reduce weight at the same time. This means my total muscle mass is not increasing however my body is getting more in shape (which is what I’m trying to do). For some people they are able to gain muscle mass despite losing weight especially if they are just starting out with weight training. Don’t be discouraged if you fall in the first group. Once you understand your caloric intake and body, you can modify your diet and exercise to make it work for your goals.

OC [PROJECT] An application to search through Synology Photos using natural language captions

I save and backup all the photos on a Synology NAS instead of using one of the online providers. However Synology Photos doesn't have good search capabilities. So I built a project to search through the images using natural language captions, and found that it works really well....

OC [PROJECT] An application to search through Synology Photos using natural language captions

I save and backup all the photos on a Synology NAS instead of using one of the online providers. However Synology Photos doesn't have good search capabilities. So I built a project to search through the images using natural language captions, and found that it works really well....

OC synology-photos-nlp-search: Search through Synology Photos using natural language captions (github.com)

I save and backup all the photos on a Synology NAS instead of using one of the online providers. However Synology Photos doesn't have good search capabilities. So I built a project to search through the images using natural language captions, and found that it works really well....

JasSmith,

Just an FYI: for the cost of a VPN, you can buy a Usenet subscription. Depending on your content, you'll get far better speeds, far more privacy, far more content, and far more availability.

ofcourse, (edited )

Mental Illness Happy Hour by Paul Gilmartin, if you like a podcast that talks honestly about the struggles of mental health.

Paul interviews a different person each week and discuss their journeys on dealing with their mental health. Paul is also been very open about his struggles. It helps that he is a comedian and has a subtle but dark humor that I enjoy.

I also really like the short surveys that he reads and people have filled out on his website because they make me feel connected that I’m not alone.

The kbin/lemmy app is coming along. Here´s a little preview of the upcoming beta! Heavy inspiration from Apollo. The app will be available for both iOS and Android. (imgur.com)

The dev, @hariette, also has a Mastodon profile where she posts updates https://tech.lgbt/@hariette. There is also a link to the apps discord server in her bio.

OC The branding for kbin is perfect

The branding for kbin is perfect for capturing the reddit migrators. The biggest friction point for the Fediverse is choosing an instance. If I want to join Lemmy, googling Lemmy takes me to a landing page with no join button, telling me to go to these other sites. Some of these sites even actively discourage signups, creating...

BlackCoffee, (edited )
BlackCoffee avatar

Someone also had a suggestion to change the name of Magazines to "Bins", I think Bins would be incredibly catchy and on point.

Edit; Found the thread where it was suggested first:

https://kbin.social/m/linux@lemmy.ml/t/9828/uhhh-what-do-I-call-the-subreddits#entry-comment-42207

Credit to @HeartyBeast for coming up with it!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • InstantRegret
  • Durango
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • mdbf
  • khanakhh
  • tacticalgear
  • JUstTest
  • everett
  • modclub
  • Leos
  • cubers
  • ngwrru68w68
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • anitta
  • megavids
  • normalnudes
  • tester
  • lostlight
  • All magazines