Using Llama-2 with Python and ARM64 or AMD64 Environment in a Docker Compose Container.

Using Llama-2 with Python and ARM64 or AMD64 Environment in a Docker Compose Container.

Tiempo de lectura: 2 minutos Hello, today we are going to learn how to deploy llama-2 on a server with an ARM64 environment, such as an Ampere 1 offered by Oracle Cloud. It’s worth noting that it’s also compatible with AMD64. The program in question is called LlaMA C++ and is available for multiple environments: In our case, we are … Read more

List Files and Folders in a Directory in Linux or Windows

List Files and Folders in a Directory in Linux or Windows

Tiempo de lectura: 2 minutos To list files and folders in a directory in Linux or Windows, you need to use the tree command. Of course, here’s a tutorial that explains several options and variants of the tree command on Windows systems. The tree command allows you to visualize the directory and file structure in a directory and its subdirectories … Read more

Using and Deploying GPT4ALL, an Alternative to Llama-2 and GPT4 for Low-Resource PCs with Python and Docker

Using and Deploying GPT4ALL, an Alternative to Llama-2 and GPT4 for Low-Resource PCs with Python and Docker

Tiempo de lectura: 2 minutos Hello, today we are going to learn how to deploy GPT4All, the open-source and commercial alternative to GPT-4 that also consumes fewer resources than Llama-2. In this tutorial, we will learn how to run GPT4All in a Docker container and with a library to directly obtain prompts in code and use them outside of a … Read more

Fix “Create a GDPR consent request message no later than January” from Google Adsense

Fix “Create a GDPR consent request message no later than January” from Google Adsense

Tiempo de lectura: 3 minutos Hello, today we are going to learn how to resolve the message that appears in Google Adsense accounts: “Create an RGPD consent request message no later than January 16, 2024” The first thing we are going to do is access our Adsense account. And the alert message will appear directly; we will have to choose … Read more

Refresh Access Token in Facebook API

Refresh Access Token in Facebook API

Tiempo de lectura: 2 minutos html Copy code Reading Time: < 1 minutes Today, we’re going to learn how to refresh the Facebook API token. To refresh it, we’ll use the Facebook library. pip install facebook-sdk And this code: def get_user_token(app_id, app_secret): graph = facebook.GraphAPI() token = graph.get_app_access_token(app_id, app_secret) return token If we need to extend the current token, we … Read more

Publish a POST to Facebook Board Using Facebook API with Python

Publish a POST to Facebook Board Using Facebook API with Python

Tiempo de lectura: 3 minutos Hello, today we are going to learn how we can publish Publishing a post on your Facebook page using a Python bot involves interacting with the Facebook API. Here are the general steps you should follow: Set up an application on Facebook: Go to the Facebook Developer page (https://developers.facebook.com/). Create a new application. Configure the … Read more

Use Telegram Ads to spread advertising on a website

Use Telegram Ads to spread advertising on a website

Tiempo de lectura: 2 minutos Hello, today we are going to learn how we can use Telegram Ads to promote advertisements. First, let’s go to: https://promote.telegram.org/ Log in with your Telegram phone number. Now select your account: And fill in all the requested information: And you will be able to create your first ad: Now click on Create a new … Read more