I found the relevant passage relating to the Ranger Companion:

"You gain a beast companion that accompanies you on your adventures and is trained to fight alongside you. Choose a beast that is no larger than Medium and that has a challenge rating of 1/4 or lower. Add your proficiency bonus to the beast's AC, attack rolls, and damage rolls, as well as to any saving throws and skills it is proficient in. Its hit point maximum equals its normal maximum or four times your ranger level, whichever is higher. Like any creature, the beast can spend Hit Dice during a short rest."

So at a glance problems are:

1) CR too high for (Black) bear and Giant Spider
2) Proficiency bonus from character is not being added to any companion rolls (haven't tested this myself)
3) Hit points are definitely not normal maximum or 4x your level (so Raven should be 12hp minimum at level 3)

That said the Bear feels balanced against the other CR 1/4 so I see no reason it should go. The rules have to be adapted for BG3 after all.